import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseEntity } from "./base.entity";

@Entity({ name: 'BaseLittleThings' })
export default class BaseLittleThingsEntity extends BaseEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'varchar', length: 50 })
  ThingName: string;

  @Column({ type: 'varchar', length: 255 })
  ImageUrl: string;

  @Column({ type: 'varchar', length: 255 })
  ThingContent: string;  
}
